<table width="100%" border="0">
    <tr bgcolor="#ECE5B6" align='center'>
        <th> <div align='center'> ID </div> </th>
        <th> <div align='center'> USERNAME </div> </th>
        <th> <div align='center'> PWD </div> </th>
        <th> <div align='center'> EMAIL </div> </th>
    </tr>
<?php
    //echo $Test;
    $a_data = TestModel::getdata();
    foreach ($a_data as $key => $val) {print_r($val);exit();
        echo '<tr>';
        echo '<td><div align=\'center\'>'.$key['id'].'</div></td>';
        echo '<td><div align=\'center\'>'.$key['name'].'</div></td>';
        echo '<td><div align=\'center\'>'.$key['email'].'</div></td>';
        echo '</tr>';
    }
   
?>
</table>